package com.tomatozq163.sharding;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement
@MapperScan("com.tomatozq163.sharding.**.dao")
public class ShardingApplication extends SpringBootServletInitializer {
    public static void main(String[] args) {
        SpringApplication.run(ShardingApplication.class, args);
    }
}
